package com.adu.adusharding.service;

import com.adu.adusharding.domain.BatchUser;
import com.adu.adusharding.domain.User;

import java.util.List;

public interface UserService {
    Integer save(User user);
    User findById(Integer id);
    List<User> findAll();
    Integer deleteById(Integer id);
    Integer update(User user);
    Integer batchSave(BatchUser userList);
}
